package com.songqi.common.oss;

import org.springframework.web.multipart.MultipartFile;

/**
 * @description:
 * @author: songqi(13776346982)
 * @date: 2024/4/27 10:14
 */
public interface OssClient {


    /**
     * 上传文件。返回文件的下载链接
     *
     * @param bucket
     * @param dir
     * @param file
     * @return
     */
    String upload(String bucket, String dir, MultipartFile file);
}
